package com.happy.zebra.admin.ui.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import lombok.Data;

@ApiModel(value="mido_new_member.sm_member_activate")
@Data
@TableName(value = "mido_new_member.sm_member_activate")
public class SmMemberActivate {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value="主键")
    private Integer id;

    /**
     * 激活码
     */
    @TableField(value = "actv_code")
    @ApiModelProperty(value="激活码")
    private String actvCode;

    /**
     * 纠错大师设备编号(出厂)
     */
    @TableField(value = "udid")
    @ApiModelProperty(value="纠错大师设备编号(出厂)")
    private String udid;

    /**
     * 会员ID(老师/学生)
     */
    @TableField(value = "member_id")
    @ApiModelProperty(value="会员ID(老师/学生)")
    private String memberId;

    /**
     * 激活码归属机构
     */
    @TableField(value = "org_id")
    @ApiModelProperty(value="激活码归属机构")
    private Integer orgId;

    /**
     * 激活码归属运营商
     */
    @TableField(value = "optr_id")
    @ApiModelProperty(value="激活码归属运营商")
    private Integer optrId;

    /**
     * 经销商ID
     */
    @TableField(value = "dist_id")
    @ApiModelProperty(value="经销商ID")
    private Integer distId;

    /**
     * 兑换之前的码
     */
    @TableField(value = "ref_code")
    @ApiModelProperty(value="兑换之前的码")
    private String refCode;

    /**
     * 目前只有1纠错大师
     */
    @TableField(value = "`type`")
    @ApiModelProperty(value="目前只有1纠错大师")
    private String type;

    /**
     * 0 Zebra遗留码 1 Mido新码 2管理后台权限开通分配 3 体验
     */
    @TableField(value = "special_type")
    @ApiModelProperty(value="0 Zebra遗留码 1 Mido新码 2管理后台权限开通分配 3 体验")
    private Integer specialType;

    /**
     * 激活开始时间
     */
    @TableField(value = "start_time")
    @ApiModelProperty(value="激活开始时间")
    private Date startTime;

    /**
     * 激活天数(0为永久)
     */
    @TableField(value = "duration")
    @ApiModelProperty(value="激活天数(0为永久)")
    private Integer duration;

    /**
     * 未分配，未使用(总部生成码)	
0
已分配，已使用(总部生成码分配给运营商并已激活用户)	
1
已分配，未使用(总部生成码分配给运营商但未激活用户)	
2
未分配，已使用(总部直接激活)	
3
体验码没有激活，即时开通	
4硬件码已过期
     */
    @TableField(value = "`status`")
    @ApiModelProperty(value="未分配，未使用(总部生成码)	,0,已分配，已使用(总部生成码分配给运营商并已激活用户)	,1,已分配，未使用(总部生成码分配给运营商但未激活用户)	,2,未分配，已使用(总部直接激活)	,3,体验码没有激活，即时开通	,4硬件码已过期")
    private String status;

    /**
     * 扩展内容
     */
    @TableField(value = "extension")
    @ApiModelProperty(value="扩展内容")
    private String extension;

    /**
     * 注释
     */
    @TableField(value = "`comment`")
    @ApiModelProperty(value="注释")
    private String comment;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    @ApiModelProperty(value="创建时间")
    private Date createTime;

    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    @ApiModelProperty(value="更新时间")
    private Date updateTime;

    /**
     * 更新人
     */
    @TableField(value = "updated_by")
    @ApiModelProperty(value="更新人")
    private String updatedBy;

    /**
     * 绑定后台商城套餐ID
     */
    @TableField(value = "combo_id")
    @ApiModelProperty(value="绑定后台商城套餐ID")
    private Integer comboId;

    /**
     * 激活时间
     */
    @TableField(value = "act_time")
    @ApiModelProperty(value="激活时间")
    private Date actTime;

    /**
     * (1销售2出租3体验)
     */
    @TableField(value = "busi_type")
    @ApiModelProperty(value="(1销售2出租3体验)")
    private String busiType;

    /**
     * (1年2月3日)
     */
    @TableField(value = "duration_type")
    @ApiModelProperty(value="(1年2月3日)")
    private String durationType;

    /**
     * 值
     */
    @TableField(value = "duration_type_value")
    @ApiModelProperty(value="值")
    private Integer durationTypeValue;

    /**
     * 备注
     */
    @TableField(value = "remark")
    @ApiModelProperty(value="备注")
    private String remark;

    public static final String COL_ID = "id";

    public static final String COL_ACTV_CODE = "actv_code";

    public static final String COL_UDID = "udid";

    public static final String COL_MEMBER_ID = "member_id";

    public static final String COL_ORG_ID = "org_id";

    public static final String COL_OPTR_ID = "optr_id";

    public static final String COL_DIST_ID = "dist_id";

    public static final String COL_REF_CODE = "ref_code";

    public static final String COL_TYPE = "type";

    public static final String COL_SPECIAL_TYPE = "special_type";

    public static final String COL_START_TIME = "start_time";

    public static final String COL_DURATION = "duration";

    public static final String COL_STATUS = "status";

    public static final String COL_EXTENSION = "extension";

    public static final String COL_COMMENT = "comment";

    public static final String COL_CREATE_TIME = "create_time";

    public static final String COL_UPDATE_TIME = "update_time";

    public static final String COL_UPDATED_BY = "updated_by";

    public static final String COL_COMBO_ID = "combo_id";

    public static final String COL_ACT_TIME = "act_time";

    public static final String COL_BUSI_TYPE = "busi_type";

    public static final String COL_DURATION_TYPE = "duration_type";

    public static final String COL_DURATION_TYPE_VALUE = "duration_type_value";

    public static final String COL_REMARK = "remark";
}